@extends('frontend/layouts/default')

@section('content')

<h1>Show Account</h1>

<p>
{{ link_to_route('nd.master.account.index', 'Return to all Account', null, array('class' => 'btn btn-info')) }}
&nbsp;&nbsp;
{{ link_to_route('nd.master.account.create', 'Add new Account', null, array('class' => 'btn btn-info')) }}
</p>

<table class="table table-striped table-bordered">
    <col width="35%">
    <col width="60%">
    <tbody>
         <tr> <th>Id</th> <td>{{ $account->id }}</td> </tr> 
<tr> <th>Domainid</th> <td>{{ $account->domainid }}</td> </tr> 
<tr> <th>Code</th> <td>{{ $account->code }}</td> </tr> 
<tr> <th>Class</th> <td>{{ $account->class }}</td> </tr> 
<tr> <th>Name</th> <td>{{ $account->name }}</td> </tr> 
<tr> <th>Lname</th> <td>{{ $account->lname }}</td> </tr> 
<tr> <th>Uname</th> <td>{{ $account->uname }}</td> </tr> 
<tr> <th>Ename</th> <td>{{ $account->ename }}</td> </tr> 
<tr> <th>Nameid</th> <td>{{ $account->nameid }}</td> </tr> 
<tr> <th>Type</th> <td>{{ $account->type }}</td> </tr> 
<tr> <th>Balance</th> <td>{{ $account->balance }}</td> </tr> 
<tr> <th>Abstract</th> <td>{{ $account->abstract }}</td> </tr> 
<tr> <th>Nillable</th> <td>{{ $account->nillable }}</td> </tr> 
<tr> <th>Node_parent</th> <td>{{ $account->node_parent }}</td> </tr> 
<tr> <th>Node_left</th> <td>{{ $account->node_left }}</td> </tr> 
<tr> <th>Node_right</th> <td>{{ $account->node_right }}</td> </tr> 
<tr> <th>Node_depth</th> <td>{{ $account->node_depth }}</td> </tr> 
        <tr><td colspan="2">
{{ Form::open(array('method' => 'DELETE', 'route' => array('nd.master.account.destroy', $account->id))) }} 
{{ link_to_route('nd.master.account.edit', 'Edit', $account->id, array('class' => 'btn btn-info')) }} &nbsp;&nbsp;
{{ Form::submit('Delete', array('class' => 'btn btn-danger')) }}
{{ Form::close() }}
        </td></tr>
    </tbody>
</table>

@stop